package com.geostar.constructionland.statistics.enumeration;

/**
 * 任务状态
 *
 * @author zhu jiacheng
 * @date 2020/8/3 10:14
 */
public enum TaskStatus {
    INIT(0, "初始化"),
    CONSUMED(1, "已消费"),
    COMPLETED(2, "已完成");

    private final Integer value;

    private final String name;

    TaskStatus(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
